SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 53828: Reading a DB2 table that contains a BLOB or CLOB data type might result in errors

DetailsHotfixAboutRate It

Querying a DB2 table and explicitly listing a column of a BLOB (binary large object) or CLOB (character large object) data type in the SELECT clause might result in an error similar to the following:

DB2 ERROR:                                                                   
RESULT OF SQL STATEMENT:                                                     
DSN00804E AN ERROR WAS FOUND IN THE APPLICATION PROGRAM INPUT PARAMETERS FOR THE SQL STATEMENT, REASON 17                                  
A DUMP OF THE SQLCA FOR THE GET DIAGNOSTICS REQUEST FOLLOWS:                 
           ROW NUMBER: 0 ERROR CONDITION: 1 REASON CODE: 17                   
           SQLCODE: -804 SQLSTATE: 07002 SQLERRP: DSNXROHB

To work around this issue, select all variables by specifying SELECT * in your query.

Click the Hot Fix tab in this note to access the hot fix for this issue.



Operating System and Release Information

Product FamilyProductSystemSAS Release
ReportedFixed*
SAS SystemSAS/ACCESS Interface to DB2z/OS9.3 TS1M29.4 TS1M2
* For software releases that are not yet generally available, the Fixed Release is the software release in which the problem is planned to be fixed.